package org.example.springboot137.controller;

import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@CrossOrigin("*")//允许跨域
@RestController
public class UserController {
    /**
     * 登陆的请求控制器
     */
    @GetMapping("/userlogin")
    public Object userLogin(){
        return "ok";
    }
}
